package com.tuling.domain;

public class Cart {

    int uid;

    int fid;

    boolean isStar;

    boolean isCart;

    public Cart() {
    }

    public Cart(int uid, int fid, boolean isStar, boolean isCart) {
        this.uid = uid;
        this.fid = fid;
        this.isStar = isStar;
        this.isCart = isCart;
    }

    @Override
    public String toString() {
        return "Cart{" +
                "uid=" + uid +
                ", fid=" + fid +
                ", isStar=" + isStar +
                ", isCart=" + isCart +
                '}';
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public int getFid() {
        return fid;
    }

    public void setFid(int fid) {
        this.fid = fid;
    }

    public boolean getIsStar() {
        return isStar;
    }

    public void setIsStar(boolean star) {
        this.isStar = star;
    }

    public boolean getIsCart() {
        return isCart;
    }

    public void setIsCart(boolean cart) {
        this.isCart = cart;
    }
}
